chore(deps): move to Go 1.27.1 - #199
Merged
Merged
Conversation
Build and test on Go 1.27.1: the go directive, the golang builder image and every duynhlab/pkg module move together, so the binary that ships is the one CI tested. The pkg modules were re-tagged on go 1.27.1 for this. Reusable workflow pins move to the gha-workflows commit whose lint fallback is golangci-lint v2.14.0, the first release line that lints go1.27 code. encoding/json now runs on the json/v2 engine. A probe of struct, map, syntax-error and type-mismatch cases gave the same error strings and the same marshalled bytes on 1.26.7 and 1.27.1; the release gate exercises the real payloads.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
go.mod:go 1.27.1; duynhlab/pkg modules at their Go 1.27 tags (authmwv0.38.0, dbxv0.38.0, httpmwv0.4.0, httpxv0.38.0, logger/slogxv0.4.0, migratexv0.37.0, obsxv0.48.0).Dockerfile: builderdocker.io/library/golang:1.27.1-alpine(runtime unchanged).duynhlab/gha-workflowspin atff848d88(lint fallback golangci-lint v2.14.0).Supersedes the Dependabot builder-image PR, which would have shipped a binary no test ran.
Verified locally (go1.27.1)
go build,go vet,go test -race, integration tests (testcontainers)docker buildx buildof the image;go mod tidystablePart of duynhlab/homelab#1107 (G2).